package com.iss.ljx.menu.service;

import com.iss.ljx.mybatis.entity.PtMenuEntity;
import com.iss.ljx.mybatis.ztree.ZtreeEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MenuService {
    List<ZtreeEntity> getMenuTree();
    PtMenuEntity getMenuInfoById(String menuId);
    void modifyMenuInfoById(PtMenuEntity entity);
    void addMenuInfoById(PtMenuEntity entity);
    void deleteMenuInfoById(String menuId);

    List<PtMenuEntity> getUserMenu(String userId);
    String getUserRoleId(String userId);
    Integer setUserMenu(String roleId,String menuId);
    Integer delUserMenu(String roleId,String menuId);


}
